﻿using System;

namespace Demo4
{
    /// <summary>
    /// 石头剪刀布的小游戏
    /// </summary>
    internal class Program
    {
        static void Main(string[] args)
        {
            float kg;
            string kgWeight = Console.ReadLine();
            //kg = float.Parse();   //从键盘获取输入
            bool flag = float.TryParse(kgWeight,out kg);
            if (!flag)              
              Console.WriteLine("请输入一个数值");
            else
              Console.WriteLine(kg);

            
        }
    }
}
